package com.qianfeng.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.qianfeng.smartdevice.dto.UserDto;
import com.qianfeng.smartdevice.pojo.SysCategory;
import com.qianfeng.smartdevice.pojo.SysUserInfo;

import java.util.List;

/**
 * @time: 2022-03-14 17:22
 */
public interface SysUserInfoService {

    SysUserInfo login(UserDto userDto);

    SysUserInfo findById(Long userId);

    PageInfo<SysUserInfo> findAll(int pageSize, int pageNum);

    void addUser(SysUserInfo sysUserInfo);
}
